#ifndef LINKDEVICEDIALOG_H
#define LINKDEVICEDIALOG_H

#include <QDialog>

class QLabel;
class QTableView;
class QPushButton;
class QStandardItem;
class QStandardItemModel;
class QTableView;
class comboDelegate;
class spinDelegate;
class QModelIndex;

#define rowNumber 50
#define columnNumber 3

class LinkDeviceDialog : public QDialog
{
    Q_OBJECT
public:
    explicit LinkDeviceDialog(QWidget *parent = 0);
    ~ LinkDeviceDialog();

signals:

public slots:
    void okToContinue();
    void dataChangedSlot(const QModelIndex &index);
private:
    void createItems();
    void initModel();
    QStandardItemModel  *model;
    QTableView *tableview;

    QPushButton *okPushButton;
    QPushButton *cancelPushButton;
    void deBlank(QString &strs);

};

#endif // LINKDEVICEDIALOG_H
